package top.duorhs.jspider.filter;

import lombok.Getter;

import java.util.HashSet;
import java.util.List;

/**
 * @author Duorhs
 * @date 2023/1/11 8:30
 */

public class TagFilter extends Filter {
    @Getter
    private final HashSet<String> tags;

    public TagFilter(String... tags) {
        this.tags = new HashSet<>();
        this.tags.addAll(List.of(tags));
    }
}
